package inits

import (
	"fmt"
	"github.com/spf13/viper"
	"yzy6.20work/global"
)

func ConfInit() {
	viper.SetConfigFile("../../config/AppConf.yaml")
	viper.ReadInConfig()
	viper.Unmarshal(&global.App)
	fmt.Println(global.App)
}
